package jgl.vajra.kingkong.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class MarketPriceBean implements Parcelable {

    public MarketPriceBean() {

    }

    public String price;
    public String lowestPrice;
    public String highestPrice;
    public String favorablePrice;

    protected MarketPriceBean(Parcel in) {
        price = in.readString();
        lowestPrice = in.readString();
        highestPrice = in.readString();
        favorablePrice = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(price);
        dest.writeString(lowestPrice);
        dest.writeString(highestPrice);
        dest.writeString(favorablePrice);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<MarketPriceBean> CREATOR = new Creator<MarketPriceBean>() {
        @Override
        public MarketPriceBean createFromParcel(Parcel in) {
            return new MarketPriceBean(in);
        }

        @Override
        public MarketPriceBean[] newArray(int size) {
            return new MarketPriceBean[size];
        }
    };
}
